.result-container {
    min-height: 100vh;
    background-color: #f5f6fa;
    padding: 20px;
}

// 结果展示区
.result-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 0;

    .success-icon {
        margin-bottom: 20px;

        .circle-wrapper {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, #52c41a, #39a312);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            animation: scaleIn 0.3s ease-out;
            box-shadow: 0 4px 12px rgba(82, 196, 26, 0.2);
        }
    }

    .result-title {
        font-size: 24px;
        font-weight: 600;
        color: #52c41a;
        margin-bottom: 10px;
        animation: fadeIn 0.3s ease-out 0.1s both;
    }

    .result-time {
        font-size: 14px;
        color: #999;
        animation: fadeIn 0.3s ease-out 0.2s both;
    }
}

// 券信息卡片
.coupon-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    animation: slideUp 0.3s ease-out 0.3s both;

    .card-header {
        margin-bottom: 20px;

        .card-title {
            font-size: 16px;
            font-weight: 500;
            color: #333;
        }
    }

    .info-list {
        .info-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 0;
            border-bottom: 1px solid #f0f0f0;

            &:last-child {
                border-bottom: none;
            }

            .label {
                font-size: 14px;
                color: #666;
            }

            .value {
                font-size: 14px;
                color: #333;
                font-weight: 500;
            }
        }
    }
}

// 操作按钮
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 0 20px;
    animation: slideUp 0.3s ease-out 0.4s both;

    .btn {
        height: 44px;
        line-height: 44px;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 500;

        &.primary {
            background: linear-gradient(90deg, #ff5722, #ff9800);
            color: #fff;

            &:active {
                background: (90deg, #ff5722, #ff9800, 10%);
            }
        }

        &.secondary {
            background: #fff;
            color: #ff5722;
            border: 1px solid #ff5722;

            &:active {
                background: #f0f8ff;
            }
        }
    }
}

// 动画关键帧
@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-area {
    .circle-wrapper {
        background-color: #4CAF50;

        &.error {
            background-color: #FF5252;
        }
    }

    .result-title {
        &.error {
            color: #FF5252;
        }
    }

    .error-message {
        margin-top: 20rpx;
        color: #FF5252;
        font-size: 28rpx;
        text-align: center;
        padding: 0 40rpx;
    }
}

.result-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30rpx;
}

.circle-wrapper {
    width: 120rpx;
    height: 120rpx;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s;
}